package com.bincloud.vue.admin.web.dto.ums.resource;

import com.bincloud.vue.admin.common.model.dto.request.BaseReqDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @Description: 资源信息入参
 * @Author: bincloud, mvpzhou
 * @Date: Create By bincloud, mvpzhou on 2022/2/18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "资源信息入参")
public class UmsResourceReqDTO extends BaseReqDTO {
    @ApiModelProperty(value = "资源ID")
    @NotNull(message = "资源ID, 不可为空")
    private Long id;
}
